package com.vcens.yzpay.service;

import com.alibaba.fastjson.JSONObject;
import com.youzan.open.sdk.client.auth.Token;
import com.youzan.open.sdk.gen.v3_0_0.model.YouzanPayQrcodeCreateResult;

import java.util.Map;

/**
 * @Author BY VeChar
 * @CreateTime 2018/8/16 13:47
 * @Description TODO
 */
public interface IPayService {
    //获取Access Token
    JSONObject getAccessToken() throws Exception;

    //获取二维码信息
    YouzanPayQrcodeCreateResult createQrInfo(Token token, Map<String, String> payInfo) throws Exception;
}
